Methods and circuits to reduce pop noise in an audio device

ABSTRACT

A class D amplifier receives and amplifies a differential analog signal which is then differentially integrated. Two pulse width modulators generate pulse signals corresponding to the differentially integrated analog signal and two power units generate output pulse signals. The outputs the power units are coupled to input terminals of integrators via a resistor feedback network. An analog output unit converts the pulse signals to an output analog signal. The differential integration circuitry implements a soft transition between mute/un-mute. In mute, the integrator output is fixed. During the soft transition, the PWM outputs change slowly from a fixed 50% duty cycle to a final value to ensure that no pop noise is present in the output as a result of mode change.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S. Application for patent Ser. No. 14/478,531 filed Sep. 5, 2014, which claims priority from Chinese Application for Patent No. 201310422290.4 filed Sep. 12, 2013, the disclosures of which are incorporated by reference.

TECHNICAL FIELD

The present disclosure relates generally to an integrated circuit, more particularly, to methods and circuits to reduce pop noise in an audio device.

BACKGROUND

As class AB amplifiers have good audio performance, they are widely used in audio devices. But the power consumption of class AB amplifiers is so large that they may not be used in portable devices which are powered by batteries.

Class D amplifiers are another type amplifier which have good audio performance and consume less power. In operation, class D amplifiers convert an analog signal to a digital signal (e.g. pulses) and then convert the digital signal back into an amplified analog signal. In the process of the signal conversion, many kinds of disturbances may affect the output signal of class D amplifiers, and this may make it uncomfortable for the listener.

In operating time of class D amplifiers, audible pop noises are always presented by transient events. If a big sound signal starts/finishes suddenly or audio devices having the class D amplifiers stop/start suddenly, pop noises generated in these events are easily to be heard by the listener.

Because of steps of fabrication process, both offset of input stages of the class D amplifiers and mismatching of resistors in the feedback loop may contribute to offset in output. Without any suppression, this offset (especially when this offset is larger than 20 mV) will cause an audible pop noise at the transient events where the output stage starts to switch on or switch off. If a large audio signal starts from a silent environment or a large audio signal stops suddenly, the listener may feel uncomfortable. This event is one kind of pop noise.

SUMMARY

Thus, there is a need for a class D amplifier which can reduce pop noise caused by offset or a sudden start or finish of a large audio signal.

In an embodiment, a circuit comprises: an integrating circuit configured to integrate an analog signal, wherein the integrating circuit comprises: a first amplifier circuit biased by a first bias current and configured to receive and integrate said analog signal; a second amplifier circuit biased by a second bias current and configured to generate a reference voltage; a third amplifier circuit operating response to a enable signal to generate differential first and second control signals; a first bias circuit configured to generate the first bias current in response to the first control signal; and a second bias circuit configured to generate the second bias current in response to the second control signal.

In an embodiment, a circuit comprises: an integrating amplifier circuit having an input configured to receive an analog signal and generate an integrated analog signal at an output coupled to an output node; a voltage regulator circuit configured to generate a regulated voltage at an output coupled to the output node; a control module coupled to the integrating amplifier circuit and the voltage regulator circuit and configured to control operations of the integrating amplifier circuit and the voltage regulator circuit in response to a mode switch signal; said control module responding to a change in logic state of the mode switch signal by gradually disabling the integrating amplifier circuit and simultaneously gradually enabling the voltage regulator circuit so as to gradually convert the output node from the integrated analog signal to the regulated voltage.

In an embodiment, a circuit comprises: an integrating amplifier circuit having an input configured to receive an analog signal and generate an integrated analog signal at an output coupled to an output node; a voltage regulator circuit configured to generate a regulated voltage at an output coupled to the output node; a control module coupled to the integrating amplifier circuit and the voltage regulator circuit and configured to control operations of the integrating amplifier circuit and the voltage regulator circuit in response to a mode switch signal; said control module responding to a change in logic state of the mode switch signal by gradually enabling the integrating amplifier circuit and simultaneously gradually disabling the voltage regulator circuit so as to gradually convert the output node from the regulated voltage to the integrated analog signal.

In an embodiment, a circuit comprises: an amplifier circuit having an input configured to receive an analog signal and an output configured to generate an output analog signal; a regulator circuit having an output configured to generate a reference signal; an output node coupled to the outputs of the amplifier circuit and regulator circuit; a control module coupled to the amplifier circuit and the regulator circuit and configured to control operations of the amplifier circuit and the regulator circuit based on a mode switch signal; said control module responding to a change in state of the mode switch signal by gradually disabling one of the amplifier circuit or regulator circuit and simultaneously gradually enabling the other one of the amplifier circuit or regulator circuit.

The foregoing has outlined, rather broadly, features of the present invention. Additional features of the invention may be described, hereinafter, which form the subject of the claims of the invention. It should be appreciated by those skilled in the art that the conception and specific embodiment disclosed may be readily utilized as a basis for modifying or designing other structures or processes for carrying out the same purposes of the present invention. It should also be realized by those skilled in the art that such equivalent constructions do not depart from the spirit and scope of the invention as set forth in the appended claims.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 represents an architecture of a BTL (bridge tied-load) class D Amplifier;

FIG. 2 is a schematic of a BTL output class D amplifier in FIG. 1;

FIG. 3 is a block diagram of an integrator in accordance with one embodiment of the present application;

FIG. 4A shows a detailed schematic of a signal generator used to control the integrator;

FIG. 4B shows a detailed schematic of the integrator in accordance with one embodiment of the present application;

FIG. 4C shows working currents diagram of integrator in accordance with one embodiment of the present application;

FIG. 5A shows a circuit of the class D amplifier in accordance with another embodiment of the present application;

FIG. 5B shows an output diagram of the Class D amplifier in accordance with the embodiment of the present application in FIG. 5A;

FIG. 6 shows the audio signal diagram under another scenario; and

FIG. 7 shows a block diagram of an audio device.

DETAILED DESCRIPTION

Although the following describes example methods and circuits, it should be noted that these examples are merely illustrative and should not be considered as limiting. Accordingly, while the following describes example methods and circuits, persons of ordinary skill in the art may readily appreciate that the examples provided are not the only way to implement such methods and circuits.

FIG. 1 represents an architecture of a BTL class D Amplifier, including an audio signal input unit 11, integrating units 12 and 13, pulse width modulation (PWM) units 14 and 15, power units 16 and 17, resistor feedback nets 18 and 19, and an audio signal output unit 20. All audio signal input unit 11, integrating units 12 and 13, and pulse width modulation (PWM) units 14 and 15 work in power line VDD (3.3V), all power units 16 and 17 and the output unit 20 work in high voltage power line VCC (5V to 36V).

Input unit 11 is coupled to integrating units 12 and 13 respectively, and is configured to receive an analog audio signal. Generally, input unit 11 transmits the analog audio signal to integrating units 12 and 13 in a differential pattern. After being integrated in integrating units 12 and 13, the audio signal may be received by PWM units 14 and 15 which compare the integrated audio signal with a triangle signal Vtri to generate pulse signals with different pulse width which are used to drive the power units 16 and 17. So, the work status of power units 16 and 17 is determined by the pulse signals. The power units 16 and 17 are coupled to integrating units 12 and 13 respectively via resistor feedback nets 18 and 19, so the class D amplifier works in a closed loop, which may improve the performance of the class D amplifier such as Total Harmonic Distortion (THD), Power Supply Rejection Ratio (PSRR) and stability. The class D amplifier also includes an output unit 20 which may convert the pulse signals into an analog output signal, and output it to a speaker.

In operation, there are two working modes of the class D amplifier, such as mute and un-mute modes. The output unit 20 may not output any audio signal in mute mode, because the duty cycle of the pulse signals generated by PWM units 14 and 15 are set to be 50%. In the un-mute mode, PWM units 14 and 15 may output two pulse signals with different pulse width to the power unit 16 and 17 which may increase the pulse signals power. After the power is raised, output unit 20 receives the powered pulse signals, and outputs an audio signal.

FIG. 2 is a schematic of a BTL output class D amplifier in FIG. 1. The BTL output class D amplifier has two branches which are the same as each other. A fully differential pre-amplifier 101, which includes four gain setting resistors 1011 to 1014 and two DC blocking capacitors 1015 and 1016, is employed as the input unit 11 in FIG. 2. Integrators 102 and 103 are coupled to pre-amplifier 101 respectively, and are configured to integrate the pre-amplified analog audio signal output by pre-amplifier 101. Comparators 104 and 105 coupled to the integrators 102 and 103 respectively are configured to receive the integrated audio signal. Power supply of fully differential pre-amplifier, integrators and comparators is a low level voltage VDD (e.g. 2.7V-5V). Compared to VDD, power unit 16, which includes logic unit 1061 and power amplifier 1062, comprises power DMOS transistors and works at a higher level voltage VCC (e.g. 5V-36V). Output unit 20 includes LC low-pass filters 201 and 202 both of which are coupled to a speaker 203. LC low-pass filters 201 and 202 are configured to convert received pulse signals into analog signals.

In operation, fully differential pre-amplifier 101 receives an analog audio signal and transmits the differential analog signals amplified by the pre-amplifier 101 to integrators 102 and 103. Then, integrators 102 and 103 integrate the amplified differential analog signals, and transmit integrated analog signals to comparators 104 and 105 which compare the integrated analog signal with a common triangle signal Vtri to modulate the integrated analog signals to pulse signals with different pulse width. Logic units 1601 and 1071 are used to shift the output voltage of comparators 104 and 105, therefore power amplifiers 1062 and 1072 are able to be driven by modulated pulse signals. When low-pass filters 201 and 202 receive pulse signals generated by power amplifiers 1062 and 1072, they may convert the received pulse signals into analog signals which can drive speaker 203.

Also, output terminals of power amplifiers 1062 and 1072 are coupled to integrators 102 and 103 via resistor feedback nets 108 and 109 respectively, which makes the class D amplifier work in a closed loop. In FIG. 2, R2 is n times the resistance of resistor R3.

To fix the PWM outputs of two branches in a BTL at 50% duty cycle in mute modes, two voltage references (VR1 and VCMFB) are generated internally. VR1 is equal to half of VDD, and is employed as a voltage reference VREF for integrators 102 and 103. The triangle signal is also biased by VR1, which means intermediate level of the triangle signal is determined by VR1. In this embodiment, the intermediate level of the triangle signal is equal to VR1=VREF. VCMFB is a voltage reference for pre-amplifier 101. When there is no analog signal input into pre-amplifier 101, the PWM output is biased at VCC/2, which is the requirement for DC balance.

According to the Kirchhoff's law, the average output of power amplifiers V_(OUT) is given by:

$\begin{matrix} {V_{OUT} = {{{N \cdot {VR}}\;{1 \cdot \left\lbrack {1 + \frac{n + 1}{N}} \right\rbrack}} - {N \cdot {VCMFB}}}} & (1) \\ {n = \frac{R\; 2}{R\; 3}} & (2) \\ {N = \frac{Rfb}{Rin}} & (3) \end{matrix}$

R_(fb) 108 may be a resistor net which comprises resistors R1 to R3, and can be expressed as below: R _(fb)=(n+1)·R1+n·R3   (4)

In another embodiment, the number of resistors of the resistor net may be at least one. In order to set V_(OUT) at VCC/2 with zero input signal, the internal voltage reference VR1 and VCMFB are designed to be:

$\begin{matrix} {{{VR}\; 1} = {\frac{1}{2}{VDD}}} & (5) \\ {{VCMFB} = {{{VDD} \cdot \left\lbrack {\frac{1}{2} + \frac{n - 1}{2N}} \right\rbrack} - {\frac{1}{2N}{VCC}}}} & (6) \end{matrix}$

FIG. 3 is a block diagram of an integrator in accordance with one embodiment of the present application. The integrator 102 has three input terminals, including terminals VREF, Muteplay and Viin. The terminal VREF is configured to receive the voltage reference VREF, the terminal Muteplay is used to receive a mode switch signal, and the terminal Viin is configured to receive the signal from pre-amplifier 101 or power amplifier 1062.

The integrator 102 comprises two operational amplifiers (opamp): Mute_op 1022 works in mute mode, and Play_op 1021 works in un-mute mode. Both the positive terminals of the two opamps are coupled to the terminal VREF to share a common voltage reference. The negative terminal Viin of Play_op 1021 is coupled to output terminal Viout of integrator 102 via an integrating capacitor C1, and is configured to receive the analog signal output by pre-amplifier 101. The negative terminal of Mute_op 1022 is coupled to the output terminal Viout of integrator 102. The integrator 102 further comprises a Mode_switch unit 1023 which has a terminal Muteplay to receive a mode switch signal which can achieve a soft transition between mute and un-mute mode.

In operation, while the Muteplay terminal receives a mode switch signal that switches on Mute_op 1022 and switches off Play_op 1021, the Mode_switch unit 1023 may enable the Mute_op 1022 and disable the Play_op 1021. Then, the output at the terminal Viout is set to be equal to the signal at terminal VREF. In this embodiment, the integrator output is equal to VR1. When the voltage at the terminal Viout is limited to VR1, the closed loop of the Class D amplifier is cut off. Even if there is an audio signal from pre-amplifier 101 input into the integrator 102, the power amplifier 1602 and 1702 may maintain the output pulse signals have 50% duty cycle. So, the offset caused by pre-amplifier 101 and mismatching of resistors in feedback loop are cancelled, only offset of the buffer opamp (Mute_op 1022) may be transferred to the output of the class D amplifier, but it is too small, and no audible pop noise may be generated.

In the un-mute mode, the Play_op 1021 works and Mute_op 1022 is disabled, the integrator 102 outputs an integrated audio signal, and corrects the PWM output through the closed loop.

FIG. 4A shows a detailed schematic of a signal generator used to control the integrator, and FIG. 4B shows a detailed schematic of the integrator in accordance with one embodiment of the present application.

Essentially, the mode switch signal is a signal that is used to enable/disable a corresponding opamp. In the embodiment, the mode switch signal is converted from a pulse signal to a ramp signal which has a specified slope and is generated by an RC net showed in FIG. 4A.

The terminal Enable is coupled to terminal Muteplay via a resistor R4, and the terminal Muteplay is coupled to ground through a capacitor C4. When the terminal Enable receives a mode switch signal that is a pulse signal, the RC net can convert the pulse signal into a ramp signal with a slope determined by capacitance of capacitor C4.

In FIG. 4B, there are three opamps: Play_op 1021, Mute_op 1022 and Mode Switch unit 1023. In this embodiment, both Play_op 1021 and Mute-op 1022 are two-stage amplifiers which share a common load stage of the first stage including NMOS transistors M19 and M20. Also, Play_op 1021 and Mute-op 1022 may have independent load stages which may supply same or different impedances.

In Mode switch unit 1023, NMOS transistors M13 and M14 form a differential pair, gate of NMOS transistor M13 is coupled to terminal Muteplay to receive the Mode switch signal, and gate of NMOS transistor M14 is coupled to internal terminal VREF2 to receive a voltage reference VR2. Both the drain and gate of NMOS transistor M3 are coupled together to the gates of PMOS transistors M1 and M7. So, PMOS transistors M1, M3 and M7 form a linear current mirror. Similarly, PMOS transistors M2, M4 and M8 form another linear current mirror. PMOS transistor M3 is a current bias for the Play_op 1021, and PMOS transistor M4 is a current bias for the Mute_op 1022. Therefore, the gain of the Mode switch unit 1023 is small, but it may respond to the signal at terminal Muteplay so fast. When the terminal Muteplay receives a slow ramp signal, the currents in PMOS transistor M3 and M4 may be changed accordingly slow.

From the above, current I_(MI) can be obtained as below:

$\begin{matrix} {I_{M\; 1} = {\frac{\left( {W/L} \right)_{M\; 1}}{\left( {W/L} \right)_{M\; 3}} \cdot I_{M\; 3}}} & (7) \end{matrix}$

Likewise, current I_(M2) can be obtained as below:

$\begin{matrix} {I_{M\; 2} = {\frac{\left( {W/L} \right)_{M\; 2}}{\left( {W/L} \right)_{M\; 4}} \cdot I_{M\; 4}}} & (8) \end{matrix}$

The Mode switch unit 1023 further comprises PMOS transistors M5 and M6. Gate of PMOS transistor M5 is coupled to the gate of PMOS transistor M3, and drain of PMOS transistor M5 is coupled to the gate of PMOS transistor M4. Similarly, gate of PMOS transistor M6 is coupled to the gate of PMOS transistor M4, and drain of PMOS transistor M6 is coupled to the gate of PMOS transistor M3.

While the input signal of terminal Muteplay is much greater than VR2, the PMOS transistor M4 is switched off, which means that the gate voltage of PMOS transistor M4 is less than the threshold voltage of PMOS transistor M4 and the current I_(M4) is equal to zero. In some situations, the current I_(M4) is hard to be switched off completely, the PMOS transistor M5 contributes to switch off the transistor M4 quickly and completely because PMOS transistors M4 and M5 form a positive feedback loop. When current I_(M5) is equal to zero, the current I_(M3) is equal to current I_(b) and the gate voltage of PMOS transistor M3 is a lower voltage, this may pull up the drain voltage of PMOS transistor M5 to VDD. Then, PMOS transistor M4 is completely switched off. Similarly, the PMOS transistor M3 may be completely switched off by PMOS transistor M6 when PMOS transistor M4 is switched on.

The Play_op 1021 is a two-stage opamp. The first stage comprises PMOS transistors M1, M10, M16, and NMOS transistors M19, M20. The second stage comprises PMOS transistor M7 and NMOS transistor M9. PMOS transistors M10, M16 form a differential pair, gate of PMOS transistor M10 is coupled to the terminal VREF to receive the voltage reference VR1, and gate of PMOS transistor M16 is coupled to terminal Viin to receive the analog signal output by pre-amplifier 101. Drain of PMOS transistor M7 is coupled to drain of NMOS transistor M9 to output the amplified signal.

Similarly, in Mute_op 1022, the PMOS transistors M11 and M12 form a differential pair. The gate of PMOS transistor M11 is coupled to the gate of PMOS transistor M10 to share a common voltage reference. Gate of PMOS transistor M12 is coupled to the output of Mute_op 1022 which is also the output of the integrator. The second stage comprises PMOS transistors M8 and NMOS transistor M9, and drain of PMOS transistor M8 is coupled to the drain of NMOS transistor M9.

The integrator further comprises compensating resistor R5 and compensating capacitor C5 to get better frequency response. Also, resistor R5 can be instead of a transistor that works in linear region.

When the input signal of terminal Muteplay is much greater than VR2, Play_op 1021 works, and Mute_op 1022 is disabled by the current bias. When the class D amplifier is in the un-mute mode, Play_op 1021 works as an error amplifier, the input signal and feedback signal are amplified, and the output of comparator is modulated. The duty cycle of the signals at PWM_N and PWM_P is varied according to the input signal.

When the input signal of terminal Muteplay is much less than VR2, Mute_op 1022 works, and Play_op 1021 is disabled by the current bias. The Mute_op 1022 works as a buffer to set the output of integrator 102 to voltage VR1 that the loop gain is approximately equal to 0 dB. So, when integrator 102 outputs a fixed voltage in the mute mode, the feedback loop of the class D amplifier is cut off, which means that the disturbances at output can not affect the input of the integrator 102 and the offset caused by pre-amplifier 101 and mismatching of resistors in feedback loop are reduced.

During the transition between Mute_op 1022 and Play_op 1021 (1.25V<Muteplay<2.8V), the two opamps work together. The audio signal and offsets delivered to the output increasing slowly from zero to the final value, which may avoid the pop noise. With the soft transition from mute to un-mute status, the offset caused by input stage, and mismatching of resistors in feedback loop may be transferred to the output softly, and no audible pop noise may be generated.

FIG. 4C shows working currents diagram of integrator in accordance with one embodiment of the present application. With the mode switch signal rises slowly, current I_(M1) and I_(M2) change smoothly.

Referring to FIG. 4C, the voltage signal at terminal Muteplay rises slowly, which means the mode switch signal has a gradually change ratio, then the both currents I_(M1) and I_(M2) have a slow change rate.

FIG. 5A shows a circuit of the class D amplifier in accordance with another embodiment. In this embodiment, there is 1% mismatching in the feedback resistor. FIG. 5B shows an output diagram of the Class D amplifier in accordance with the embodiment of the present application in FIG. 5A.

As illustrated in FIG. 5A and FIG. 5B, there is 1% mismatching in the feedback resistor net: R_(fb1)=180 k ohm, and R_(fb2)=181.8 k ohm. The class D amplifier switches between mute and un-mute status with slow rate, and the offsets delivered to the output from zero to the normal value or from the normal value to zero softly when terminal Muteplay is charged or discharged slowly. The output diagram of the D amplifier is smooth (see curve V_(dout)), and after filtered in an A-weighted filter, the BTL output is very small (see curve V_(dout-f)), therefore no audible pop noise is generated at these transient events.

FIG. 6 shows the audio signal diagram under another scenario. The performance of the class D amplifier circuit is illustrated, and pop noise caused by sudden start and finish of the audio signal is reduced. Referring to FIG. 6, curve V_(dout) is an audio signal diagram which is smooth at the beginning or end of the audio signal. The audio signal is amplified to the output from zero to the normal value or from the normal value to zero softly when terminal Muteplay is charged or discharged slowly. The listener may not feel uncomfortable because of the sudden start or finish of a big audio signal.

FIG. 7 shows a block diagram of an audio device. The audio device 30 comprises an audio signal generator 301, a class D amplifier 302 of the invention, and an audio signal player 303. The audio signal generator 301 coupled to the input terminal of the class D amplifier 302, is configured to receive or generate an audio signal. When the class D amplifier 302 receives an audio signal, it may raise the power of the audio signal and output the power raised signal to the audio signal player 303. Then, audio signal player 303 can play the audio signal without pop noise. The audio device 30 can include MP3 player, mobile phone, voice box and any type of sound equipment.

In one aspect, a driver circuit comprises an analog signal input unit, an analog signal input unit, configured to receive and amplify a differential analog signal and output an amplified analog signal in a differential pattern; at least two integrators coupled to output terminals of the analog signal input unit respectively, configured to integrate the amplified analog signal; at least two pulse width modulators coupled to an output terminal of a corresponding one of the integrators respectively, configured to generate pulse signals with corresponding pulse width based on an integrated analog signal from the corresponding integrator; wherein each integrator comprises a first amplifier having a positive input terminal, a negative input terminal and an output terminal, wherein the negative input terminal coupled to the output terminal via a capacitor is configured to receive the amplified analog signal, and the positive input terminal is configured to receive a first reference signal; a regulator coupled to the output terminal of the first amplifier is configured to limit output at the output terminal of the first amplifier to the first reference signal; a control module coupled to the first amplifier and the regulator, configured to control operations of the first amplifier and the regulator based on a mode switch signal, wherein when the mode switch signal is at a mute state, the control module is configured to disable the first amplifier and enable the regulator to have the first reference signal as the output at the output terminal of the first amplifier, when the mode switch signal is at an un-mute state, the control module is configured to gradually change the output at the output terminal of the first amplifier from the first reference signal to an analog signal amplified by the first amplifier.

In an embodiment, the regulator is a second amplifier having a positive input terminal coupled to the first reference signal, a negative input terminal coupled to the output terminal of the first amplifier, and an output terminal coupled to the output terminal of the first amplifier.

In an embodiment, the first amplifier comprises a first load stage, and a first current source coupled to the control module to provide the first amplifier with a first working current; the second amplifier comprises a second load stage, and a second current source coupled to the control module to provide the first amplifier with a second working current.

In an embodiment, the first current source comprises a first PMOS transistor having a gate coupled to the control module; the second current source comprises a second PMOS transistor having a gate coupled to the control module; wherein the current values of the first and second current source are determined by the control module.

In some embodiments of the present invention, the integrator comprises a first amplifier having a first positive input terminal, a first negative input terminal and a first output terminal, wherein the first negative input terminal is configured to receive the amplified analog signal and is coupled to the first output terminal via a capacitor, the first positive input terminal is configured to receive the first reference signal; a regulator coupled to the first output terminal is configured to limit output at the first output terminal to the first reference signal; a control module coupled to the first amplifier and the regulator, configured to control operations of the first amplifier and the regulator based on the mode switch signal, wherein when the mode switch signal is at a mute state, the control module is configured to disable the first amplifier and enable the regulator to have the first reference signal as the output at the first output terminal, when the mode switch signal is at an un-mute state, the control module is configured to gradually change the output at the first output terminal from the first reference signal to the input signal amplified by the first amplifier.

In an embodiment, the control module is a third amplifier and comprises: a mode switch signal input stage comprising a differential pair, is configured to receive the mode switch signal; a first output stage having a third PMOS transistor, both gate and drain of the third PMOS transistor are coupled to the gate of the first PMOS transistor; a second output stage having a fourth PMOS transistor, both gate and drain of the fourth PMOS transistor are coupled to the gate of the second PMOS transistor.

In an embodiment, the control module further comprises a fifth PMOS transistor, gate of the fifth PMOS transistor is coupled to the gate of the third PMOS transistor, and the drain of the fifth PMOS transistor is coupled to the drain of the transistor; and a sixth PMOS transistor, the gate of the transistor M6 is coupled to the gate of the fourth PMOS transistor, and the drain of the sixth PMOS transistor is coupled to the drain of the third PMOS transistor.

In an embodiment, the class D amplifier further comprises: at least one mode switch signal generator coupled to the integrator, configured to convert a step Enable signal into the mode switch signal with a gradually change ratio. Therefore, the mode switch signal may be a smoothly varied signal, which contributes to reduce the pop noise.

In an embodiment, the first current source comprises a transistor having a gate coupled to the control module; the second current source comprises a transistor having a gate coupled to the control module; wherein the current values of the first and second current source are determined by the control module output.

In an embodiment, the control module is a third amplifier and comprises a mode switch signal input stage comprising a differential pair comprising a transistor , configured to receive the mode switch signal; a first output stage having a transistor, both the gate and drain of the transistor are coupled to the gate of the transistor; a second output stage having a transistor, both the gate and drain of the transistor are coupled to the gate of the transistor.

In some embodiments, the class D amplifier further comprises at least two power units coupled to output terminals of a corresponding one of the pulse width modulators respectively, and configured to raise power of the pulse signals, wherein output terminals of the power units are coupled to the input terminals of the integrator via a resistor feedback net, wherein the resistor feedback net comprises at least one resistor.

In some embodiments, the class D amplifier further comprises an output unit coupled to the output terminals of the power units respectively, configured to convert the pulse signals to analog signals.

In some embodiments, each pulse width modulator comprises: a comparator having a positive input terminal coupled to the output terminal of the integrator, a negative input terminal coupled to a triangle signal, and an output terminal configured to output the pulse signals, wherein intermediate level of the triangle signal is equal to the first voltage reference.

In some embodiments, each power unit comprises: a logic unit coupled to the output terminal of the comparator; a power amplifier coupled to output of the logic unit, configured to raise the pulse signals power; wherein the logic unit is configured to shift voltage level of the pulse signals output by the pulse width modulators to be able to drive the power amplifier.

In another aspect, a first amplifier having a positive input terminal, a negative input terminal and an output terminal, wherein the negative input terminal is configured to receive the amplified analog signal and is coupled to the output terminal via a capacitor, the positive input terminal is configured to receive a first reference signal; a regulator coupled to the output terminal of the first amplifier is configured to limit output at the output terminal of the first amplifier to the first reference signal; a control module coupled to the first amplifier and the regulator, configured to control operations of the first amplifier and the regulator based on a mode switch signal, wherein when the mode switch signal is at a mute state, the control module is configured to disable the first amplifier and enable the regulator to have the first reference signal as the output at the output terminal of the first amplifier, when the mode switch signal is at an un-mute state, the control module is configured to gradually change the output at the output terminal of the first amplifier from the first reference signal to an analog signal amplified by the first amplifier.

In an embodiment, the regulator is a second amplifier having a positive input terminal coupled to the first reference signal, a negative input terminal coupled to the output terminal of the first amplifier, and an output terminal coupled to the output terminal of the first amplifier; the control module is a third amplifier, and is configured to receive the mode switch signal to change working currents of the regulator and the first amplifier based on the mode switch signal.

In another aspect, an audio device adopting the class D amplifier, wherein the class D amplifier comprises at least two integrators, wherein each integrator comprises a first amplifier having a positive input terminal, a negative input terminal and an output terminal, wherein the negative input terminal coupled to the output terminal via a capacitor is configured to receive the amplified analog signal, and the positive input terminal is configured to receive a first reference signal; a regulator coupled to the output terminal of the first amplifier is configured to limit output at the output terminal of the first amplifier to the first reference signal; a control module coupled to the first amplifier and the regulator, configured to control operations of the first amplifier and the regulator based on a mode switch signal, wherein when the mode switch signal is at a mute state, the control module is configured to disable the first amplifier and enable the regulator to have the first reference signal as the output at the output terminal of the first amplifier, when the mode switch signal is at an un-mute state, the control module is configured to gradually change the output at the output terminal of the first amplifier from the first reference signal to an analog signal amplified by the first amplifier.

In another aspect, a method of reducing pop noise in an audio device, comprising: receiving, by the class D amplifier of the audio device, a differential analog input signal; amplifying, by the class D amplifier of the audio device, the differential analog signal and outputting an amplified analog signal in a differential pattern; responsive to a mode switch signal, integrating, by the class D amplifier of the audio device, the amplified analog signal in un-mute mode, and limiting, by the class D amplifier of the audio device, the analog input signal to a fixed voltage signal in mute mode; generating, by the class D amplifier of the audio device, pulse-width-modulated signals responsive to the integrated signals; and converting, by the class D amplifier of the audio device, the pulse-width-modulated signals into analog signals.

In an embodiment, gradually integrating, by the class D amplifier of the audio device, the amplified analog signal from the fixed voltage signal to the integrated signal when the mode switch signal switches from mute to un-mute mode; or gradually limiting, by the class D amplifier of the audio device, the analog signal from the integrated signal to the fixed voltage signal when the mode switch signal switches from un-mute to mute mode.

Compared with the conventional circuits, the class D amplifier can significantly reduce the pop noise as below: (1) caused by the offset of both feedback resistors and pre-amplifier; and (2) caused by a sudden start or finish of a big audio signal.

It may be readily understood by those skilled in the art that circuits and methods may be varied while remaining within the scope of the present invention. It is also appreciated that the present invention provides many applicable inventive concepts other than the specific contexts used to illustrate embodiments. Therefore, although certain example methods, circuits and devices have been described herein, the scope of coverage of this patent is not limited thereto. On the contrary, this patent covers all methods, circuits, and devices fairly falling within the scope of the appended claims either literally or under the doctrine of equivalents. 

What is claimed is:
 1. A circuit, comprising: an integrating circuit configured to integrate an analog signal, wherein the integrating circuit comprises: a first amplifier circuit biased by a first bias current and configured to receive and integrate said analog signal; a second amplifier circuit biased by a second bias current and configured to generate a reference voltage; a third amplifier circuit operating response to a enable signal to generate differential first and second control signals; a first bias circuit configured to generate the first bias current in response to the first control signal; and a second bias circuit configured to generate the second bias current in response to the second control signal.
 2. The circuit of claim 1, wherein the first amplifier circuit comprises a first input coupled to receive a reference, a second input coupled to receive the analog signal, a first output and an integrating capacitor coupled between the first output and the second input.
 3. The circuit of claim 1, wherein the second amplifier circuit comprises a third input, a fourth input coupled to receive a reference, a second output and a feedback connection between the second output and the third input.
 4. The circuit of claim 3, wherein the second amplifier circuit operates as a voltage regulator circuit.
 5. The circuit of claim 1, wherein the third amplifier circuit comprises a filter circuit configured to receive said enable signal.
 6. The circuit of claim 5, wherein the third amplifier circuit further comprises a fifth input coupled to receive an output from the filter circuit, a sixth input coupled to receive a reference, and differential outputs configured to generate the differential first and second control signals.
 7. The circuit of claim 1, wherein the first and second amplifier circuit share a common load stage.
 8. The circuit of claim 1, wherein the first and second amplifier circuits share a common output stage.
 9. The circuit of claim 8, wherein said common output stage includes a first transistor controlled by the first control signal and a second transistor, coupled in parallel with the first transistor, controlled by the second control signal.
 10. A circuit, comprising: an integrating amplifier circuit having an input configured to receive an analog signal and generate an integrated analog signal at an output coupled to an output node; a voltage regulator circuit configured to generate a regulated voltage at an output coupled to the output node; a control module coupled to the integrating amplifier circuit and the voltage regulator circuit and configured to control operations of the integrating amplifier circuit and the voltage regulator circuit in response to a mode switch signal; said control module responding to a change in logic state of the mode switch signal by gradually disabling the integrating amplifier circuit and simultaneously gradually enabling the voltage regulator circuit so as to gradually convert the output node from the integrated analog signal to the regulated voltage.
 11. The circuit of claim 10, wherein the integrating amplifier circuit is biased for operation by a first bias current; wherein the voltage regulator circuit is biased for operation by a second bias current; and wherein said control module is configured to generate differential first and second control signals responsive to the change in logic state of the mode switch signal to gradually decrease the first bias current and simultaneously gradually increase the second bias current.
 12. A circuit, comprising: an integrating amplifier circuit having an input configured to receive an analog signal and generate an integrated analog signal at an output coupled to an output node; a voltage regulator circuit configured to generate a regulated voltage at an output coupled to the output node; a control module coupled to the integrating amplifier circuit and the voltage regulator circuit and configured to control operations of the integrating amplifier circuit and the voltage regulator circuit in response to a mode switch signal; said control module responding to a change in logic state of the mode switch signal by gradually enabling the integrating amplifier circuit and simultaneously gradually disabling the voltage regulator circuit so as to gradually convert the output node from the regulated voltage to the integrated analog signal.
 13. The circuit of claim 12, wherein the integrating amplifier circuit is biased for operation by a first bias current; wherein the voltage regulator circuit is biased for operation by a second bias current; and wherein said control module is configured to generate differential first and second control signals responsive to the change in logic state of the mode switch signal to gradually increase the first bias current and simultaneously gradually decrease the second bias current.
 14. A circuit, comprising: an amplifier circuit having an input configured to receive an analog signal and an output configured to generate an output analog signal; a regulator circuit having an output configured to generate a reference signal; an output node coupled to the outputs of the amplifier circuit and regulator circuit; a control module coupled to the amplifier circuit and the regulator circuit and configured to control operations of the amplifier circuit and the regulator circuit based on a mode switch signal; said control module responding to a change in state of the mode switch signal by gradually disabling one of the amplifier circuit or regulator circuit and simultaneously gradually enabling the other one of the amplifier circuit or regulator circuit.
 15. The circuit of claim 14, wherein the control module responds to a first change in state of the mode switch signal to gradually convert the output node from the output analog signal to the reference signal.
 16. The circuit of claim 14, wherein the control module responds to a second change in state of the mode switch signal to gradually convert the output node from the reference signal to the output analog signal.
 17. The circuit of claim 14, wherein the amplifier circuit is an integrating amplifier circuit and the output analog signal is an integration of the received analog signal.
 18. The circuit of claim 14, wherein the amplifier circuit is biased for operation by a first bias current; wherein the regulator circuit is biased for operation by a second bias current; and wherein said control module is configured to generate differential first and second control signals responsive to the change in logic state of the mode switch signal to gradually change the first bias current and simultaneously gradually change the second bias current in an opposite direction from the gradual change of the first bias current. 